<%@ Control Language="C#" %>
<%@ Register TagPrefix="CS" Namespace="CommunityServer.Controls" Assembly="CommunityServer.Controls" %>
<%@ Register TagPrefix="CSD" Namespace="CommunityServer.Discussions.Controls" Assembly="CommunityServer.Discussions" %>
<%@ Import Namespace="CommunityServer.Controls" %>
<%@ Import Namespace="CommunityServer.Components" %>
<%@ Import Namespace="CommunityServer.Discussions.Components" %>
<%@ Import Namespace="CommunityServer.Discussions.Controls" %>
               
<table width="100%" cellpadding="0" cellspacing="0">
    <tr>
        <td>
          <!-- Display Moderation action counters -->
          <CSD:UserModerationCounters id="ModerationCounters" runat="server" />
          <br />
        </td>       
    </tr>
    <tr>
        <td>
          <asp:Label id="CurrentCounterName" runat="server" CssClass="countertitle" />
          <br />
          <!-- Display moderation actions repeater -->
            <CS:RepeaterPlusNone EnableViewState="false" runat="server" id="AuditHistoryRepeater">

	            <HeaderTemplate>
                  <table width="100%" class="tableBorder" cellpadding="4" cellspacing="1">
                    <tr> 
                        <td class="column" align="center" width="80"><cs:ResourceLabel runat="server" ResourceName="ModerationHistory_Date" id="Resourcelabel7" /></td>
                        <td class="column" id="PostHeaderColumn" runat="server" align="center" width="150"><cs:ResourceLabel runat="server" ResourceName="ModerationHistory_Post" id="Resourcelabel1" /></td>
                        <td class="column" align="center" width="100"><cs:ResourceLabel runat="server" ResourceName="ModerationHistory_Moderator" id="Resourcelabel3" /></td>
                        <td class="column" align="center" width="*"><cs:ResourceLabel runat="server" ResourceName="ModerationHistory_Notes" id="Resourcelabel4" /></td>
                    </tr>
	            </HeaderTemplate>

	            <ItemTemplate>
			              <tr valign="top">
				              <td class="f" align="center">
  											<asp:Label runat="server" id="ItemDate" />
				              </td>
				              <td class="f" id="PostColumn" runat="server" align="left">
				                <b><asp:HyperLink runat="server" Id="ItemPostLink" /></b>
				              </td>
				              <td class="f" align="center">
				                <b><asp:HyperLink runat="server" Id="ItemUsernameLink" /></b>
				              </td>
				              <td class="f" align="left">
  											<asp:Label runat="server" id="ItemNotes" />
				              </td>
			              </tr>            			            			
	            </ItemTemplate>
            	
  						<AlternatingItemTemplate>
			              <tr valign="top">
				              <td class="fh" align="center">
  											<asp:Label runat="server" id="ItemDate" />
				              </td>
				              <td class="fh" id="PostColumn" runat="server" align="left">
				                <b><asp:HyperLink runat="server" Id="ItemPostLink" /></b>
				              </td>
				              <td class="fh" align="center">
				                <b><asp:HyperLink runat="server" Id="ItemUsernameLink" /></b>
				              </td>
				              <td class="fh" align="left">
  											<asp:Label runat="server" id="ItemNotes" />
				              </td>
			              </tr>            			
  						</AlternatingItemTemplate>
            	
							<NoneTemplate>
									  <tr>
									    <td align="left" class="fh" colspan="4">
									      <br>
										    <CS:ResourceLabel runat="server" ResourceName="ForumMembers_NoRecords" id="Resourcelabel2" NAME="Resourcelabel2"/>
									    </td>
									  </tr>
							</NoneTemplate>
            	
	            <FooterTemplate>
            	
		              </table>
            		
	            </FooterTemplate>
	            				
            </CS:RepeaterPlusNone>          
        </td>       
    </tr>
    <tr>
        <td>    
            <!-- Display the pager -->
						<table cellpadding="0" cellspacing="0" width="100%">
							<tr>
								<td valign="top" align="right">
									<asp:Panel id="DisplayPager" Runat="server">					
										<div style="padding-top: 12px; padding-bottom: 12px;">
											<table class="tableBorder" cellpadding="0" cellspacing="0">
												<tr>
													<td>
														<table width="100%" cellpadding="2" cellspacing="0">
															<tr>
																<td valign="middle" class="column" nowrap="true">
																	&nbsp;<CS:CurrentPage Cssclass="columnText" id="CurrentPage" runat="server" />
																</td>
																<td valign="middle" align="right" class="column" nowrap="true">
																	<CSD:ForumPager id="Pager" runat="server" />
																</td>
															</tr>
														</table>
													</td>
												</tr>
											</table>
										</div>
									</asp:Panel>
								</td> 
							</tr>
						</table>
        </td>       
    </tr>    
</table>            
